package com.sinothk.fc.storeOrderDetail.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sinothk.fc.storeOrderDetail.entity.StoreOrderDetailEntity;
import com.sinothk.fc.storeOrderDetail.entity.StoreOrderDetailSearchReq;
import com.sinothk.fc.storeOrderDetail.entity.StoreOrderDetailVO;

/**
 * @Description: 门店销售记录表
 * @Author: Liangyt
 * @Date:   2022-09-14
 * @Version: V1.0
 */
public interface StoreOrderDetailMapper extends BaseMapper<StoreOrderDetailEntity> {

    IPage<StoreOrderDetailEntity> listForStore(Page<StoreOrderDetailEntity> page, StoreOrderDetailSearchReq searchReq);

    IPage<StoreOrderDetailVO> listForStoreGroupByOrderId(Page<StoreOrderDetailVO> page, StoreOrderDetailSearchReq searchReq);
}
